package com.ysm.freestyle.viewmodel

import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel

class PathTextViewModel : ViewModel() {
    private val data: MutableLiveData<String> by lazy {
        MutableLiveData<String>()
    }

    fun setData(path: String) {
        this.data.postValue(path)
    }

    fun getData(): LiveData<String> {
        return data
    }
}
